package com.hgkj.cloud.base.service;

import com.hgkj.cloud.base.common.PageInfo;
import com.hgkj.cloud.base.domain.TenantOrderInfo;

import java.util.List;
import java.util.Map;

public interface TenantOrderInfoService {

    int deleteByPrimaryKey(Long id);

    int insert(TenantOrderInfo record);

    int insertSelective(TenantOrderInfo record);

    TenantOrderInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(TenantOrderInfo record);

    int updateByPrimaryKey(TenantOrderInfo record);

    List<TenantOrderInfo> listAllOrderInfos(PageInfo pi, Map<String, Object> map);

    List<Map> listAllOrderInfosNoTu(PageInfo pi,Map<String, Object> map);

    long listAllOrderInfosCount(Map<String, Object> map);

    List<TenantOrderInfo> listOrderInfo(Map<String, Object> map);

    int insertOrderInfo(TenantOrderInfo record);

    Map<String,Long> getUserOrderCount(Map<String, Object> map);

    long findOrderCount(String admin_uuid);
    long findOrderCountByUserUuid(String user_uuid);

    List<Map<String,Object>> getAllPsyEmail(Map<String, Object> map);
}
